Question about redirects using RewriteMatch
am 19.11.2009 15:13:54 von ediego--_000_C72ABCD2EC17ediegomiamiedu_
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
There are some sections of the site that I wanted to setup aliases for so w=
hen you browse to www.bus.miami.edu/businessmiami/, www.bus.miami.edu/inthe=
news/ and www.bus.miami.edu/embapr/ you automatically get redirected to the=
specified page.
RedirectMatch /businessmiami(/|$) "http://www.bus.miami.edu/news-and-media/=
publications/busmiami/index.html"
RedirectMatch /inthenews(/|$) "http://www.bus.miami.edu/news-and-media/in-t=
he-news/index.html"
RedirectMatch /embapr(/|$) "http://www.bus.miami.edu/graduate-programs/exec=
utive-mba/emba-off-campus/puerto-rico/index.html"
I encountered a problem where I had an image in a folder /_assets/images/bu=
sinessmiami/cover.jpg. The web page wouldn't load the image because the li=
nk was getting redirected because of the RedirectMatch. I'm not sure why i=
t's not working correctly. Anyone have any suggestions.
Thanks,
Emil Diego
--_000_C72ABCD2EC17ediegomiamiedu_
Content-Type: text/html; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
11pt'>There are some sections of the site that I wanted to setup aliases fo=
r so when you browse to www.bus.miami.edu/businessmiami/, www.bus.miami.edu=
/inthenews/ and www.bus.miami.edu/embapr/ you automatically get redirected =
to the specified page.
RedirectMatch /businessmiami(/|$) " /news-and-media/publications/busmiami/index.html">http://www .bus.miami.edu/=
news-and-media/publications/busmiami/index.html"
RedirectMatch /inthenews(/|$) " s-and-media/in-the-news/index.html">http://www.bus.miami.edu /news-and-media=
/in-the-news/index.html"
RedirectMatch /embapr(/|$) " te-programs/executive-mba/emba-off-campus/puerto-rico/index. html">http://ww=
w.bus.miami.edu/graduate-programs/executive-mba/emba-off-cam pus/puerto-rico=
/index.html"
I encountered a problem where I had an image in a folder /_assets/images/bu=
sinessmiami/cover.jpg. The web page wouldn’t load the image bec=
ause the link was getting redirected because of the RedirectMatch. I&=
#8217;m not sure why it’s not working correctly. Anyone have an=
y suggestions.
Thanks,
Emil Diego
--_000_C72ABCD2EC17ediegomiamiedu_--